import request from '@/utils/request'

// 查询客户费用单列表
export function listCustomerSettleFeeSheet(query) {
  return request({
    url: '/system/CustomerSettleFeeSheet/list',
    method: 'get',
    params: query
  })
}

// 查询客户费用单详细
export function getCustomerSettleFeeSheet(id) {
  return request({
    url: '/system/CustomerSettleFeeSheet/' + id,
    method: 'get'
  })
}

// 新增客户费用单
export function addCustomerSettleFeeSheet(data) {
  return request({
    url: '/system/CustomerSettleFeeSheet',
    method: 'post',
    data: data
  })
}

// 修改客户费用单
export function updateCustomerSettleFeeSheet(data) {
  return request({
    url: '/system/CustomerSettleFeeSheet',
    method: 'put',
    data: data
  })
}

// 删除客户费用单
export function delCustomerSettleFeeSheet(id) {
  return request({
    url: '/system/CustomerSettleFeeSheet/' + id,
    method: 'delete'
  })
}
